package Dog;

public class Dog {
	private int size;
	private String name;
	
	public void bark(int barkNum) {
		if (size > 60){
			System.out.println(name + " says");
			while (barkNum > 0){
				System.out.println(" 'Woof!'");
				barkNum = barkNum - 1;
			}
		} else if (size > 14){
			System.out.println(name + " says");
			while (barkNum > 0){
				System.out.println(" 'Ruff!'");
				barkNum = barkNum - 1;
			}
			
		} else {
			System.out.println(name + " says");
			while (barkNum > 0){
				System.out.println(" 'Yip!'");
				barkNum = barkNum - 1;
			}
		}
	}
	
	public void setSize(int s){
		if (size > 0){
			size = s;
		}
		
	}
	
	public int getSize(){
		return size;
	}
	
	public void setName(String n){
		name = n;
	}
	
	public String getName(){
		return name;
	}
	
	public void eat(){}
	public void chaseCat(){}

}
